<?php
//模版引擎
include TEMPLATE_PATH.DS.'Smarty.class.php';
$tpl = new Smarty();
$tpl->template_dir = BASE_PATH .DS. "templates".DS;
$tpl->compile_dir = BASE_PATH .DS. "templates_c".DS;
$tpl->config_dir = BASE_PATH .DS. "config".DS;
$tpl->cache_dir = BASE_PATH .DS. "cache".DS;
$tpl->left_delimiter = '<{';
$tpl->right_delimiter = '}>';

?>